﻿using System;

namespace UniRx.Operators
{
	// Token: 0x020002A2 RID: 674
	internal class ImmutableEmptyObservable<T> : IObservable<T>, IOptimizedObservable<T>
	{
		// Token: 0x06000ED2 RID: 3794 RVA: 0x00045668 File Offset: 0x00043A68
		private ImmutableEmptyObservable()
		{
		}

		// Token: 0x06000ED3 RID: 3795 RVA: 0x00045670 File Offset: 0x00043A70
		public bool IsRequiredSubscribeOnCurrentThread()
		{
			return false;
		}

		// Token: 0x06000ED4 RID: 3796 RVA: 0x00045673 File Offset: 0x00043A73
		public IDisposable Subscribe(IObserver<T> observer)
		{
			observer.OnCompleted();
			return Disposable.Empty;
		}

		// Token: 0x04000894 RID: 2196
		internal static ImmutableEmptyObservable<T> Instance = new ImmutableEmptyObservable<T>();
	}
}
